﻿using System.Collections.Generic;

namespace AutoDeployForSims.From18To10Cfg.Model
{
    public class AnalogExtend18
    {
        public int AnlogExtendId { get; set; }
        public string DataType { get; set; }
        public string DataName { get; set; }
        public int AnalogType { get; set; }
        public int AnalogTypeOrder { get; set; }
        public int AnalogOrder { get; set; }

        public Dictionary<string, string> AnalogProperty { get; set; }

        public AnalogExtend18(int anlogExtendId, string dataType, string dataName, int analogType, int analogTypeOrder, int analogOrder, Dictionary<string, string> analogProperty)
        {
            AnlogExtendId = anlogExtendId;
            DataType = dataType;
            DataName = dataName;
            AnalogType = analogType;
            AnalogTypeOrder = analogTypeOrder;
            AnalogOrder = analogOrder;
            AnalogProperty = analogProperty;
        }

        public override string ToString()
        {
            return "AnalogExtend18{" +
                    "ananlogExtendId=" + AnlogExtendId +
                    ", dataType='" + DataType + '\'' +
                    ", dataName='" + DataName + '\'' +
                    ", analogType=" + AnalogType +
                    ", analogTypeOrder=" + AnalogTypeOrder +
                    ", analogOrder=" + AnalogOrder +
                    ", analogProperty=" + AnalogProperty +
                    '}';
        }
    }
}
